import Vue from 'vue'
import VueRouter from 'vue-router'
import FenLei from '@/views/fenlei.vue'
import Index from '@/views/index'
import My from '@/views/my'
import Order from '@/views/order'

Vue.use(VueRouter)

const router = new VueRouter({
    routes: [
        { path:'/index',component: Index},
        { path:'/fenlie',component: FenLei},
        { path:'/order',component: Order},
        { path:'/my',component: My},
    ]
})

export default router